package com.carb.dto;

import com.carb.enums.CommonStatus;
import com.carb.enums.MemberLevel;
import com.carb.query.PageQuery;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

@EqualsAndHashCode(callSuper = true)
@Data
@Schema(description = "分页查询会员传递的数据模型")
public class MemberPageQueryDTO extends PageQuery implements Serializable {

    @Schema(description = "会员姓名")
    private String name;

    @Schema(description = "用户状态 (禁用, 启用)")
    private CommonStatus status;

    @Schema(description = "会员等级 (普通, 银卡, 金卡, 至尊)")
    private MemberLevel level;

}
